package com.weiyuwqj.api.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @className:SysAssetDeposit	
 * @Description: 资产方押金
 * @author cx
 * @date:2017年3月28日下午8:53:13 
 *
 */
@Table(name = "sys_asset_deposit")
public class SysAssetDeposit implements Serializable {
   	private static final long serialVersionUID = 7922296211157654235L;

	@Id
    private Integer id;
	
	/**
	 * 公司id
	 */
	@Column(name = "company_id")
    private Integer companyId;
	
	/**
	 * 押金
	 */
	@Column(name = "deposit")
	private double deposit;
	
	/**
	 * 比率
	 */
	@Column(name = "rate")
	private double rate;
	
	/**
	 * 总额度
	 */
	@Column(name = "total_amount")
	private double totalAmount;
	
	/**
	 * 已使用额度
	 */
	@Column(name = "used_amount")
	private double usedAmount;
	
	/**
	 * 创建者
	 */
	@Column(name = "creator")
	private Integer creator;
	
	/**
	 * 创建ip
	 */
	@Column(name = "addip")
	private String addip;
	
	/**
	 * 创建时间
	 */
	@Column(name = "addtime")
	private Date addtime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public double getDeposit() {
		return deposit;
	}

	public void setDeposit(double deposit) {
		this.deposit = deposit;
	}

	public double getRate() {
		return rate;
	}

	public void setRate(double rate) {
		this.rate = rate;
	}

	public double getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(double totalAmount) {
		this.totalAmount = totalAmount;
	}

	public double getUsedAmount() {
		return usedAmount;
	}

	public void setUsedAmount(double usedAmount) {
		this.usedAmount = usedAmount;
	}

	public Integer getCreator() {
		return creator;
	}

	public void setCreator(Integer creator) {
		this.creator = creator;
	}

	public String getAddip() {
		return addip;
	}

	public void setAddip(String addip) {
		this.addip = addip;
	}

	public Date getAddtime() {
		return addtime;
	}

	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
}